function [t] = runall(G,ks,width,height,corrs)
% 
% G=F;
% 
% %width=512; height=512;
% width=1024; height=768;

if (nargin == 2)
    w=512;
    h=512;
end

tic; 
[fcln, centerlocn]        = selfCalibUnrobust(G,width,height);
NtElapsed=toc;

tic; 
[ fclR, centerlocR ]      =  HoughSelfcalib( G,width,height );
RtElapsed=toc;

tic; 
[ fclG, centerlocG ]      =  geometricSelfCalib( G,width,height,corrs );
GElapsed=toc;


[errnfram,errnframOC  ] = calcSelfCalibError(fcln, centerlocn,ks);

[errR, errROC ] = calcSelfCalibError(fclR, centerlocR,ks);

[errG, errGOC ] = calcSelfCalibError(fclG, centerlocG,ks);


disp(['nonrobust algorithm had error in f of ' num2str(errnfram) ' and in optical center of ' num2str(errnframOC)   ' with time ' num2str(NtElapsed) ]);
disp(['new hough algorithm had error in f of ' num2str(errR) ' and in optical center of ' num2str(errROC)    ' with time ' num2str(RtElapsed)]);
disp(['geometric algorithm had error in f of ' num2str(errG) ' and in optical center of ' num2str(errGOC)    ' with time ' num2str(GElapsed)]);

t=1;

end